<#include "../../inc/layout.html">
<@layout title="库存流水账" js="scm/storageBill/flowBill.js">
<script>var type=${type!0};</script>
<div class="wrapper" ms-controller="view">
  	<div class="mod-search cf">
	    <div class="fl">
	    	<ul class="ul-inline">
		        <li>
		       		<input type="text"  ms-duplex="query.keyword" class="ui-input con" value="" placeholder="请输入查询关键字">
		        </li>
		        <li>
		          	<label>日期:</label>
		          	<input type="text" ms-duplex="query.start_date" class="ui-input ui-datepicker-input" placeholder="起始日期">
		         	<span>-</span>
		          	<input type="text" ms-duplex="query.end_date" class="ui-input ui-datepicker-input" placeholder="截止日期">
		        </li>
		        <li>
		        	<select ms-duplex="query.type" class="ui-input" style="width:120px;">
		        		<option value="">全部</option>
		        		<option ms-repeat="billType" ms-value="$index">{{el}}</option>
		        	</select>
		        </li>
		       	<li>
		        	<a class="ui-btn" id="search" ms-click="reloadData" title="查询">
		        		<i class="fa fa-search"></i>
		        	</a>
		        	<a class="ui-btn" id="refresh" ms-click="resetQry" title="重置查询条件">
		        		<i class="fa fa-refresh"></i>
		        	</a>
				</li>
			</ul>
	    </div>
    	<div class="fr"></div>
  	</div>
  	
  	<div class="grid-wrap">
	    <table id="grid"></table>
	    <div id="page"></div>
  	</div>
</div>
</@layout>
